+2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
+
+ * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
+ functions in order to make mouse operation work again in the
+ color wheel. (#58604)
+
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
+
+ * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
+ functions in order to make mouse operation work again in the
+ color wheel. (#58604)
+
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
+
+ * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
+ functions in order to make mouse operation work again in the
+ color wheel. (#58604)
+
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
+
+ * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
+ functions in order to make mouse operation work again in the
+ color wheel. (#58604)
+
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
+
+ * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
+ functions in order to make mouse operation work again in the
+ color wheel. (#58604)
+
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
+
+ * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
+ functions in order to make mouse operation work again in the
+ color wheel. (#58604)
+
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
+2001-08-07 Matthias Clasen <matthiasc@waldgeist.poet.de>
+
+ * gtk/gtkhsv.c (gtk_hsv_map, gtk_hsv_unmap): Reinstate these
+ functions in order to make mouse operation work again in the
+ color wheel. (#58604)
+
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
static void gtk_hsv_class_init (GtkHSVClass *class);
static void gtk_hsv_init (GtkHSV *hsv);
static void gtk_hsv_destroy (GtkObject *object);
+static void gtk_hsv_map (GtkWidget *widget);
+static void gtk_hsv_unmap (GtkWidget *widget);
static void gtk_hsv_realize (GtkWidget *widget);
static void gtk_hsv_unrealize (GtkWidget *widget);
static void gtk_hsv_size_request (GtkWidget *widget,
object_class->destroy = gtk_hsv_destroy;
+ widget_class->map = gtk_hsv_map;
+ widget_class->unmap = gtk_hsv_unmap;
widget_class->realize = gtk_hsv_realize;
widget_class->unrealize = gtk_hsv_unrealize;
widget_class->size_request = gtk_hsv_size_request;
/* Default signal handlers */
+
+/* Map handler for the HSV color selector */
+
+static void
+gtk_hsv_map (GtkWidget *widget)
+{
+ GtkHSV *hsv;
+ HSVPrivate *priv;
+
+ hsv = GTK_HSV (widget);
+ priv = hsv->priv;
+
+ GTK_WIDGET_CLASS (parent_class)->map (widget);
+
+ gdk_window_show (priv->window);
+}
+
+/* Unmap handler for the HSV color selector */
+
+static void
+gtk_hsv_unmap (GtkWidget *widget)
+{
+ GtkHSV *hsv;
+ HSVPrivate *priv;
+
+ hsv = GTK_HSV (widget);
+ priv = hsv->priv;
+
+ gdk_window_hide (priv->window);
+
+ GTK_WIDGET_CLASS (parent_class)->unmap (widget);
+}
+
/* Realize handler for the HSV color selector */
static void
gtk_hsv_realize (GtkWidget *widget)